package com.github.thinwonton.springboot.showcase.transaction.propagation;

import com.github.thinwonton.springboot.showcase.transaction.propagation.config.FullyQualifiedAnnotationBeanNameGenerator;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

@SpringBootApplication
@ComponentScan(nameGenerator = FullyQualifiedAnnotationBeanNameGenerator.class)
@MapperScan("com.github.thinwonton.springboot.showcase.transaction.propagation.dao")
//@EnableAspectJAutoProxy(exposeProxy = true)
public class TxPropagationApplication {
	public static void main(String[] args) {
		SpringApplication.run(TxPropagationApplication.class, args);
	}
}
